package com.megalith.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@ApiModel(value="com-megalith-domain-Student")
@Data
@Accessors(chain = true)
public class Student implements Serializable {
    @ApiModelProperty(value="null")
    @Excel(name = "编号",width = 30)
    private String id;

    @ApiModelProperty(value="null")
    @Excel(name = "姓名")
    private String name;

    @ApiModelProperty(value="null")
    @Excel(name = "性别",replace={"男_1","女_0"})
    private String sex;

    @ApiModelProperty(value="null")
    @Excel(name = "家庭住址",width = 50)
    private String address;

    @ApiModelProperty(value="null")
    @Excel(name = "班级编号",width = 20)
    private String classId;

    private static final long serialVersionUID = 1L;
}